package com.yuantao.baiduedit.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by GaoLei on 2017/12/30.
 */
@RestController
public class MainController {
    @RequestMapping("/hello")
    public String Index(){
        return "hello world!";
    }
}
